import http from '/@/utils/request'

/**
 * 查询生产计划单列表
 */
export const listWorkOrder = (query) => {
    return http.request({
        url: '/production/work/orders/list',
        method:'get',
        params:query
    })
}

/**
 * 领取
 */
export const updateReceive = () => {
    return http.request({
        url: '/production/work/orders/update.receive',
        method: 'put'
    })
}

/**
 * 删除工单
 */
export const dalWorkOrders= () => {
    return http.request({
        url: '/production/work/orders/delete',
        method: 'put'
    })
}